import React from 'react'
import { useRoutes } from 'react-router-dom'
import { ROuterList } from './router'
const Router: React.FC = () => {
    const element = useRoutes(ROuterList)
    return (
        <div>
            {element}
        </div>
    )
}
export default Router